package stu.cms.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@TableName("dept")
@Data
public class Dept extends BaseEntity{
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String deptName;
    @DateTimeFormat(pattern="yy-mm-dd HH:mm:ss")
    public LocalDateTime createTime;

}
